<template>
  <view class="container">
    <button type="primary" @click="clickFn()">点我</button>
  </view>
</template>

<script setup lang="ts">
const clickFn = () => {
  console.log('你好');
};
</script>

<style lang="scss" scoped></style>
